﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>xingqing</title>
    <link href="~/Content/lib/layui/css/layui.css" rel="stylesheet" />
    <script src="~/Content/lib/layui/layui.js"></script>
</head>
<body>
    <form id="fUpdate" class="layui-form" action="">
        <input type="hidden" name="id" value="@ViewBag.A.id" />@*修改中不能缺少id*@

        <div class="layui-form-item">
            <label class="layui-form-label">反馈标题</label>
            <div class="layui-input-inline">
                <input type="text" name="title" value="@ViewBag.A.title" required lay-verify="required" placeholder="留言标题" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">留言内容</label>
            <div class="layui-input-inline">
                @*<input type="text" name="content" value="@ViewBag.A.content" required lay-verify="required" placeholder="请输入留言内容" autocomplete="off" class="layui-input">*@
                <textarea name="content" style="width:600px;height:80px;" required lay-verify="required" autocomplete="off" class="layui-input">@ViewBag.A.content</textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">留言者姓名</label>
            <div class="layui-input-inline">
                <input type="text" name="name" value="@ViewBag.A.name" required lay-verify="required" placeholder="请输入留言者姓名" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-inline">
                <input type="text" name="email" value="@ViewBag.A.email" required lay-verify="required" placeholder="邮箱" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">留言时间</label>
            <div class="layui-input-inline">
                <input type="text" name="create_time" id="create_time" value="@ViewBag.A.create_time" required lay-verify="date" placeholder="留言时间" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-inline">
                <input type="text" name="phone" value="@ViewBag.A.phone" required lay-verify="required" placeholder="QQ号" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">QQ号</label>
            <div class="layui-input-inline">
                <input type="text" name="QQ" value="@ViewBag.A.QQ" required lay-verify="required" placeholder="QQ号" autocomplete="off" class="layui-input">
            </div>
        </div>


    </form>
</body>
</html>
